import { Controller, Get, Ctx } from 'koa-controllers'
import { Context } from 'koa';

@Controller 
export class MainIndexController{
  @Get('/')
  /**
   * async index
   */
  public async index( @Ctx ctx: Context ) {
    // console.log('首页');
    ctx.body = ctx.template.render('index.html');

    
    
    
  } 



  private newMethod(ctx: Context) {
    ctx.body = ctx.template.render('index.html');
  }
}
